﻿using System.Runtime.Serialization;
using System.Windows.Documents;

namespace WpfTwitterClient.Infrastructure.Models
{
    [DataContract(Name = "status", Namespace = "")]
    public class Tweet
    {
        [DataMember(Name = "id")]
        public string Id { get; set; }

        [DataMember(Name = "text")]
        public string Text { get; set; }

        [DataMember(Name = "created_at")]
        public string Date { get; set; }

        [DataMember(Name = "user")]
        public User User { get; set; }

        [DataMember(Name = "source")]
        public string Source { get; set; }
        
        public FlowDocument Document { get; set; }
    }
}
